<%-- 
    Document   : Insertar
    Created on : 28/09/2013, 06:47:15 PM
    Author     : Daniel
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Insertar</title>
    </head>
    <body>
        <form method="post" action="ControladorBasico?op=guardar">
            <table cellspacing="2" cellpadding="3" border="1" width="%0%"
                   style="margin:0 auto" align="center" >
                <tr>
                    <td width="50%">Codigo_Vehiculo</td>
                    <td width="50%">
                        <input type="text" name="codigo" />
                    </td>
                </tr>
                <tr>
                    <td width="50%">Marca</td>
                    <td width="50%">
                        <input type="text" name="nombre" />
                    </td>
                </tr>
                <tr>
                    <td width="50%">Cambio_Aceite</td>
                    <td width="50%">
                        <input type="text" name="cargo" />
                    </td>
                </tr>
                <tr>
                    <td width="50%">Cambio_Aceite</td>
                    <td width="50%">
                        <select name="slcCambio_Aceite">
                        <c:forEach items="${Cambio_Aceite}" var="item" >
                            <option value="${item.id_vehiculo}">${item.fecha_cambio}</option>
                        </c:forEach>
                        </select>
                    </td>
                </tr>
                    
                <tr>
                    <td width="50%">&nbsp;</td>
                    <td width="50%">
                        <input type="submit" value="Enviar" />
                    </td>
                </tr>
                
            </table>
            <a href="inicio.jsp">inicio</a> 
        </form>
    </body>
</html>
